<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    {get data=shop model=kucun fun=selectRow(" kcid=".SHOPID)}
    <div class="title">{$shop.title}管理中心</div>
    {if $shop.koudai}<a class="right-btn" href="/koudaiadmin.php?m=index&a=weicang">返回口袋</a>{/if} 
  </div>
<style>
.koudaitools .item a{display:block; height:40px; line-height:40px; margin:0px 5px; border-bottom:1px solid #eee;}
</style>
 
 		{get data=jhnum model=kcorder fun=getcount(" status=0 AND kcid=".SHOPID." ")}
        {get data=thnum model=kcback fun=getcount(" status=0 AND kcid=".SHOPID." ")}
		<div class="pd-5">  新进货： {$jhnum}单 ，新退货：{$thnum}单</div>
		 
	<div class="koudaitools">
    	
    	 <div class="item"><a href="{$appkucun}?m=kcorder">进货订单</a></div>
    	 <div class="item"><a href="{$appkucun}?m=kcback">退货订单</a></div>
      {if $shop.koudai eq 0}  <div class="item"><a href="{$appkucun}?m=kucun_product">产品管理</a></div>{/if}
         <div class="item"><a href="{$appkucun}?m=stat_shoporder_day">收入统计</a></div>
        <div class="item"><a href="{$appkucun}?m=tixian">提现申请</a></div>
        <div class="item"><a href="{$appkucun}?m=kucun_pay_log">收支明细</a></div>
        
   		{if $shop.koudai eq 0}<div class="item"><a href="{$appkucun}?m=kucun_area">所管学校</a></div>{/if}
        <div class="item"><a href="{$appkucuni}?m=kucun_admin">账号管理</a></div>
        <div class="item"><a href="{$appkucun}?m=login&a=logout">退出管理</a></div>
    </div>

</body>
</html>
